package app.pumpkin.com.myandroiddemo.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * 作者：wangshy
 * 时间： 2018/7/13 14:49
 *
 * @author wangshy
 */
public class MyBroadcastReceiver1 extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.e("wangshy", "---->>>> (MyBroadcastReceiver1.java:17)" + getResultData());
        setResultData("我是：" + MyBroadcastReceiver1.class.getName() + ",数据:" + intent.getStringExtra("key") + "已经被我修改成：小秘密");
    }
}
